package com.young.springdemo.service.builderFactoryTest;

public class PcComputerBuilder extends ComputerBuilder {
    @Override
    public void buildCpu() {
        computer.setCpu("构建笔记本cpu");
    }

    @Override
    public void buildMemory() {
        computer.setMemory("我是笔记本内存");
    }

    @Override
    public void buildHardDisk() {
        computer.setHardDisk("构建笔记本硬盘");
    }

    @Override
    public void buildHost() {
        computer.setHost("构建笔记本主机");
    }

    @Override
    public void buildScreen() {
        computer.setScreen("构建笔记本显示器");
    }
}
